/*

* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Smart-Shop开源商城系统/ Java商城-首选电商平台系统 请务必保留此注释头信息
* |     开源地址: https://gitee.com/ningbo-qishan/gruul-mall
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     可正常分享和学习源码,未经授权 不可商用！
* |     商业版中台购买/开源版商业授权 联系技术客服
* |     官网:  https://www.73app.cn/
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Copyright (c) 2016-2999 宁波启山智软科技有限公司
* |     版权所有 ,侵权必究！
* ------------------------------------------------------------------------

*/
package com.medusa.gruul.integral.web.model.dto.manager;

import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.annotation.TableField;
import com.medusa.gruul.integral.api.entity.IntegralOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Description: 积分订单收货人信息dto
 * @Author: xiaoq
 * @Date : 2020/6/9 14:32
 */
@Data
@ApiModel(value = "修改积分订单信息的DTO")
public class IntegralReceivingInfoDto {
	private Long prizeOrderId;

	@ApiModelProperty(value = "收货人姓名")
	private String receiverName;

	@ApiModelProperty(value = "收货地址")
	private String address;

	@ApiModelProperty(value = "收货人电话")
	private String telPhone;


	@ApiModelProperty(value = "买家留言")
	private String buyersNote;

	@ApiModelProperty(value = "省级code")
	private String provinceCode;

	@ApiModelProperty(value = "市级code")
	private String cityCode;

	@ApiModelProperty(value = "区级code")
	private String areaCode;

	public IntegralOrder coverIntegralOrder() {
		IntegralOrder integralOrder = new IntegralOrder();
		BeanUtil.copyProperties(this, integralOrder);
		return integralOrder;
	}
}
